/**
 * Copyright (c) 2025 myons Inc. All rights reserved.
 */
package cn.zmwh.im.server.netty.processor;

import cn.zmwh.im.common.pojo.dto.IMRecvInfo;
import cn.zmwh.im.server.mq.dto.IMInfo;
import io.netty.channel.ChannelHandlerContext;

/**
 * @describe: 消息解析器 、
 * @author: dmzmwh 、
 * @time: 2025-06-12 22:02 、
 */
public interface ImMessageProcessor {
    default IMInfo read(ChannelHandlerContext ctx, IMInfo sendInfo) {

        return sendInfo;
    }

    default void send(IMRecvInfo sendInfo) {
    }


    default void ack(Long uid, String messageId, Object data) {

    }
}
